
#ifndef __Int__h
#define __Int__h

typedef struct Integer {
	unsigned int *vec;    //每个int长度为4个字节
	int size;
	int length;
}Integer;

extern Integer * Integer_Init(int length);
extern int Integer_Free(Integer* integer1);
extern unsigned int Print_13(unsigned int value);
extern unsigned int Get_13(Integer* sum);
extern int Integer_SetOne(Integer *in);
extern int Integer_Dup(Integer *src,Integer **des);
extern int Integer_Shift(Integer *in,Integer *out,int dir,int n);
extern int Integer_Add(Integer *a,Integer *b,Integer *sum, int *co);
extern int Print_Integer(Integer* sum);
extern Integer * Integer_Init_fast(int length,int size);
extern int Integer_Compare(Integer *a,Integer *b);
extern int Integer_Multi(Integer *a, double p, Integer *product);


#endif
